package cn.kgc.client;

import cn.kgc.base.vo.SecKillSkuInfoVo;
import cn.kgc.commons.vo.Result;
import cn.kgc.dto.SpuItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <p></p>
 *
 * @author 李孟鸠
 * @Date: 2023年01月10日10:39
 */
@FeignClient(name = "mall-pms",path = "/pms",fallback = SeckillPmsFeignClientImpl.class)
public interface SeckillPmsFeignClient {

    @GetMapping("/spuInfo/detail/{skuId}")
   Result<SpuItemVO>  detail(@PathVariable(value = "skuId") Long skuId);
}
